/**
 *  供排水系统 api
 *  @module api/drain
 *  @author coder
 */

// API_HOST
import {
	API_HOST
} from '@/config'

// axios
import axios from '@u/axios'

/**
 * 水泵信息
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const firstPumpInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/drainage/firstPumpInfo'
})

/**
 * 异常告警
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const abnormalAlarm = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/fullyMechanized/abnormalAlarm'
})